#ifndef __KC_RAW_MESSAGE_H__KC__
#define __KC_RAW_MESSAGE_H__KC__

#include <string>
#include <vector>
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include "Address.h"

namespace kc_sf
{
	struct RawMessage
	{
		unsigned long Id;
		Address rmMailFrom;
		AddressCollection rmRcptsTo;
		std::string rmData;
		boost::posix_time::ptime rmCameDate;
		std::string rmFilepath;

		RawMessage() {}

		RawMessage(
			const Address &from,
			const AddressCollection &rcpts,
			const std::string &data )
		: rmMailFrom( from ),
		  rmRcptsTo( rcpts ),
		  rmData( data )
		{
		}
	};
}

#endif // __KC_RAW_MESSAGE_H__KC__
